FROM nginxinc/nginx-unprivileged:1-alpine
# FROM nginx

RUN rm /etc/nginx/conf.d/default.conf
COPY ./default.conf /etc/nginx/conf.d/default.conf
COPY ./uwsgi_params /etc/nginx/uwsgi_params

# USER root

# RUN mkdir -p /vol/static
# RUN mkdir -p /vol/media
# RUN chmod -R 755 /vol/static
# RUN chmod -R 755 /vol/media

USER nginx








